cody - HTMLify profile

cody
4270 Files
632708 Views
Latest files of /cody/swapnilsparsh/30DaysOfJavaScript/07 - Dynamic Form Field
@font-face {
font-family: "sans";
src: url(font/sans.ttf);
}
body {
background-color: #19172e;
font-family: "sans";
font-family: "sans";
src: url(font/sans.ttf);
}
body {
background-color: #19172e;
font-family: "sans";
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<link rel="shortcut icon" href="assets/form.png" type="image/x-icon">
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<link rel="shortcut icon" href="assets/form.png" type="image/x-icon">
var survey_options = document.getElementById('survey_options');
var add_more_fields = document.getElementById('add_fields');
var remove_fields = document.getElementById('remove_fields');
add_more_fields.onclick = function(){
var newField = document.createElement('input');
var input_tags = survey_options.getElementsByTagName('input');
newField.setAttribute('type', 'text');
var add_more_fields = document.getElementById('add_fields');
var remove_fields = document.getElementById('remove_fields');
add_more_fields.onclick = function(){
var newField = document.createElement('input');
var input_tags = survey_options.getElementsByTagName('input');
newField.setAttribute('type', 'text');